import api from '../../utils/api';

export async function queryList(param) {
  return api.post('/report/queryList', {
    data: JSON.stringify(param),
  });
}

export async function create(param) {
  return api.post('/report/create', {
    data: JSON.stringify(param),
  });
}

export async function remove(param) {
  return api.post('/report/remove', {
    data: JSON.stringify(param),
  });
}

export async function qryById(param) {
  return api.post('/report/qryById', {
    data: JSON.stringify(param),
  });
}

export async function edit(param) {
  return api.post('/report/edit', {
    data: JSON.stringify(param),
  });
}

export async function queryReportFileList(param) {
  return api.post('/report/queryReportFileList', {
    data: JSON.stringify(param),
  });
}

export async function removeFile(param) {
  return api.post('/report/removeFile', {
    data: JSON.stringify(param),
  });
}

export async function downLoadFile(param) {
  return api.post('/report/downLoadFile', {
    data: JSON.stringify(param),
  });
}

export async function onCreateSheet(param) {
  return api.post('/report/buildReportFile', {
    data: JSON.stringify(param),
  });
}






